<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<h2>你好</h2>

<center>
    <table border="1px" width="500px" height="100px">
        <tr>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
            <td>6</td>
            <td>1</td>
            <td>2</td>
            <td>3</td>
            <td>4</td>
            <td>5</td>
            <td>6</td>
        </tr>

        <tr th:each="us :${#session.getAttribute('contents')}">
            <td th:text="${usStat.count}"></td>
            <td th:text="${us.id}"></td>
            <td th:text="${us.name}"></td>
            <td th:text="${us.sex}"></td>
            <td th:text="${us.age}"></td>
            <td th:text="${usStat.first}"></td>
            <td th:text="${usStat.last}"></td>
        </tr>
    </table>
</center>
</body>
</html>